package com.weds.data_sync.job;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author lihw
 * @Date 2024/1/17 15:04
 */
@Slf4j
@Component
public class CustomJobHandler implements RegisterJob {

    @XxlJob("planJobHandler")
    public void planJobHandler() {
        String jobParam = XxlJobHelper.getJobParam();
        log.info("planJobHandler: {}", jobParam);
        log.info("planJobHandler end");


    }

}
